mirror of
https://github.com/anope/anope.git
synced 2026-07-01 23:26:38 +02:00
BUILD : 1.7.14 (1048) BUGS : 510 NOTES : Fixed a lot of redundant function declarations
git-svn-id: svn://svn.anope.org/anope/trunk@1048 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@772 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
aaa81d2dfb
commit
b95c53765c
+10
-6
@@ -18,6 +18,10 @@
|
||||
#include "pseudo.h"
|
||||
#include "inspircd.h"
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "winsock.h"
|
||||
int inet_aton (const char *name, struct in_addr *addr)
|
||||
@@ -567,7 +571,7 @@ void inspircd_cmd_376(char *source)
|
||||
|
||||
void inspircd_cmd_nick(char *nick, char *name, char *modes)
|
||||
{
|
||||
// :test.chatspike.net NICK 1133519355 Brain synapse.brainbox.winbot.co.uk netadmin.chatspike.net ~brain +xwsioS 10.0.0.2 :Craig Edwards
|
||||
/* :test.chatspike.net NICK 1133519355 Brain synapse.brainbox.winbot.co.uk netadmin.chatspike.net ~brain +xwsioS 10.0.0.2 :Craig Edwards */
|
||||
send_cmd(ServerName, "NICK %ld %s %s %s %s +%s 0.0.0.0 :%s",(long int) time(NULL),nick,ServiceHost,ServiceHost,ServiceUser,modes,name);
|
||||
send_cmd(ServerName, "OPERTYPE Service");
|
||||
}
|
||||
@@ -1327,11 +1331,11 @@ int anope_event_nick(char *source, int ac, char **av)
|
||||
if (ac != 1) {
|
||||
if (ac == 8) {
|
||||
inet_aton(av[6],&addy);
|
||||
user = do_nick("", av[1], // nick
|
||||
av[4], // username
|
||||
av[2], // realhost
|
||||
source, // server
|
||||
av[7], // realname
|
||||
user = do_nick("", av[1], /* nick */
|
||||
av[4], /* username */
|
||||
av[2], /* realhost */
|
||||
source, /* server */
|
||||
av[7], /* realname */
|
||||
strtoul(av[0], NULL, 10),
|
||||
0,
|
||||
htonl(*ad),
|
||||
|
||||
Reference in New Issue
Block a user