From dd32369cdd20df7f390fcb50b200c290a454b293 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 10 Apr 2004 20:28:13 +0000 Subject: Fixed 'm' datagram nickname bug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@508 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3