summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index bed1d1be0..24731d909 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -6454,7 +6454,7 @@ void process_restricted_commands(char token,char* params,serverrec* source,serve
// give the server its authcookie.
snprintf(buffer,MAXBUF,"~ %d",authcookie);
- source->SendPacket(data,udp_host);
+ source->SendPacket(buffer,udp_host);
// tell all the other servers to use this authcookie to connect back again
snprintf(buffer,MAXBUF,"+ %s %s %d %d",udp_host,ipaddr,port,authcookie);
NetSendToAllExcept(udp_host,buffer);