diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-30 09:10:43 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-30 09:10:43 +0000 |
commit | 40049217975bc69dffec6e1f978dde4c010918c7 (patch) | |
tree | 0227d92bf0e7e9fc40846f9e206a5a22a325f3c0 /include | |
parent | 8c470e0b44b412854ac06205cacb6cf05d6483af (diff) |
Fix for bug #604 reported by Phoenix, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10612 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/u_listmode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/u_listmode.h b/include/u_listmode.h index 69ee4f668..358ccbf83 100644 --- a/include/u_listmode.h +++ b/include/u_listmode.h @@ -178,7 +178,7 @@ class ListModeBase : public ModeHandler { for (modelist::reverse_iterator it = el->rbegin(); it != el->rend(); ++it) { - user->WriteNumeric(listnumeric, "%s %s %s %s %s", user->nick.c_str(), channel->name.c_str(), it->mask.c_str(), it->nick.c_str(), it->time.c_str()); + user->WriteNumeric(listnumeric, "%s %s %s %s %s", user->nick.c_str(), channel->name.c_str(), it->mask.c_str(), (it->nick.length() ? it->nick.c_str() : ServerInstance->Config->ServerName), it->time.c_str()); } } user->WriteNumeric(endoflistnumeric, "%s %s :%s", user->nick.c_str(), channel->name.c_str(), endofliststring.c_str()); |