init
This commit is contained in:
13
nickserv.c
Executable file
13
nickserv.c
Executable file
@@ -0,0 +1,13 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user