summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-04 17:27:40 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-04 17:27:40 +0000
commitbc984d425ed414723605ebce566881cda77cb0e3 (patch)
treedf183298e4f2632497f6bddb60287908a2675689
parent4b7c157f63daae9c59170c8947c1caea48384cf3 (diff)
Made globals come from global ;)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2153 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/commands.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 6c5998979..6e68e66d7 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -590,7 +590,7 @@ void handle_privmsg(char **parameters, int pcnt, userrec *user)
servermask++;
if (match(ServerName,servermask))
{
- ServerPrivmsgAll(parameters[1]);
+ ServerPrivmsgAll("%s",parameters[1]);
}
return;
}
@@ -688,7 +688,7 @@ void handle_notice(char **parameters, int pcnt, userrec *user)
servermask++;
if (match(ServerName,servermask))
{
- ServerNoticeAll(parameters[1]);
+ NoticeAll(user, true, "%s",parameters[1])
}
return;
}
@@ -781,6 +781,7 @@ void handle_info(char **parameters, int pcnt, userrec *user)
WriteServ(user->fd,"371 %s : Jazza",user->nick);
WriteServ(user->fd,"371 %s : ",user->nick);
WriteServ(user->fd,"371 %s :Testers: CC",user->nick);
+ WriteServ(user->fd,"371 %s : Om",user->nick);
WriteServ(user->fd,"371 %s : Piggles",user->nick);
WriteServ(user->fd,"371 %s : Foamy",user->nick);
WriteServ(user->fd,"371 %s : Hart",user->nick);
@@ -796,6 +797,7 @@ void handle_info(char **parameters, int pcnt, userrec *user)
WriteServ(user->fd,"371 %s : Rob",user->nick);
WriteServ(user->fd,"371 %s : angelic",user->nick);
WriteServ(user->fd,"371 %s : Jason",user->nick);
+ WriteServ(user->fd,"371 %s : ThaPrince",user->nick);
WriteServ(user->fd,"371 %s : ",user->nick);
WriteServ(user->fd,"371 %s :Thanks to irc-junkie and searchirc",user->nick);
WriteServ(user->fd,"371 %s :for the nice comments and the help",user->nick);