summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index b5558ed27..bed1d1be0 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);
- serv->SendPacket(data,udp_host);
+ source->SendPacket(data,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);