~ubuntu-branches/ubuntu/lucid/inspircd/lucid-security

« back to all changes in this revision

Viewing changes to include/u_listmode.h

  • Committer: Bazaar Package Importer
  • Author(s): Bradley Smith
  • Date: 2008-12-15 20:23:01 UTC
  • mfrom: (1.1.5 upstream) (3.2.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20081215202301-25dqehxj35tl5vsm
Tags: 1.1.22+dfsg-2
01_fix_config_reload.dpatch - Fix crash on config reload.

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
                {
169
169
                        for (modelist::reverse_iterator it = el->rbegin(); it != el->rend(); ++it)
170
170
                        {
171
 
                                user->WriteServ("%s %s %s %s %s %s", listnumeric.c_str(), user->nick, channel->name, it->mask.c_str(), it->nick.c_str(), it->time.c_str());
 
171
                                user->WriteServ("%s %s %s %s %s %s", listnumeric.c_str(), user->nick, channel->name, it->mask.c_str(), (it->nick.length() ? it->nick.c_str() : ServerInstance->Config->ServerName), it->time.c_str());
172
172
                        }
173
173
                }
174
174
                user->WriteServ("%s %s %s :%s", endoflistnumeric.c_str(), user->nick, channel->name, endofliststring.c_str());