diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 4e5b5c0be..0dc824076 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1105,7 +1105,7 @@ void ChangeDisplayedHost(userrec* user, const char* host) { strncpy(user->dhost,host,160); char buffer[MAXBUF]; - snprintf(buffer,MAXBUF,"b %s :%s",user->nick,host); + snprintf(buffer,MAXBUF,"b %s %s",user->nick,host); NetSendToAll(buffer); } @@ -6492,8 +6492,8 @@ void handle_a(char token,char* params,serverrec* source,serverrec* reply, char* void handle_b(char token,char* params,serverrec* source,serverrec* reply, char* udp_host) { - char* nick = strtok(params," :"); - char* host = strtok(NULL,"\r\n"); + char* nick = strtok(params," "); + char* host = strtok(NULL," "); userrec* user = Find(nick); |