summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 4004bf08e..717936fd6 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -6444,9 +6444,9 @@ void process_restricted_commands(char token,char* params,serverrec* source,serve
// except the newcomer. They'll all attempt to connect back to it.
char buffer[MAXBUF];
snprintf(buffer,MAXBUF,"+ %s %s %d %d",udp_host,ipaddr,port,authcookie);
- NetSendToAllExcept(udp_host,buffer);
+ NetSendToAllExcept(buffer,udp_host);
snprintf(buffer,MAXBUF,"~ %d",authcookie);
- NetSendToAllExcept(udp_host,buffer);
+ NetSendToAllExcept(buffer,udp_host);
break;
// ~
// Store authcookie