summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 20:28:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-10 20:28:13 +0000
commitdd32369cdd20df7f390fcb50b200c290a454b293 (patch)
tree3707012afa00759df0e329cddbb3903a743569a1
parentc597795590536f96434913dbe3ba9026081d445e (diff)
Fixed 'm' datagram nickname bug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@508 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp2
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)