diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 204c6a74f..5b7eecbb7 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2619,7 +2619,7 @@ void process_modes(char **parameters,userrec* user,chanrec *chan,int status, int WriteChannel(chan,user,"MODE %s %s",chan->name,outstr); // M token for a usermode must go to all servers char buffer[MAXBUF]; - snprintf(buffer,MAXBUF,"m %s %s %s",user,chan->name, outstr); + snprintf(buffer,MAXBUF,"m %s %s %s",user->nick,chan->name, outstr); for (int j = 0; j < 255; j++) { if (servers[j] != NULL) |