14 lines
388 B
C
Executable File
14 lines
388 B
C
Executable File
#include <stdio.h>
|
|
#include <string.h>
|
|
#include "config.h"
|
|
|
|
extern char buf[],sockbuf[], *token[];
|
|
extern int sevsck,botsck;
|
|
nickserv(char *target)
|
|
{
|
|
sprintf(buf,":%s NOTICE %s :You are using a registered nick\n",
|
|
NICKSERV,target); writeln(sevsck,buf);
|
|
sprintf(buf,"433 %s :Registered Nickname Please Choose another\n",
|
|
target); writeln(sevsck,buf);
|
|
}
|