mirror of
https://github.com/inspircd/inspircd.git
synced 2025-04-02 06:10:03 -04:00
Indent tidyup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4970 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
a2d8fbc45d
commit
365fd7e1e9
@ -86,18 +86,18 @@ class cmd_silence : public command_t
|
||||
if (sl->size())
|
||||
{
|
||||
for (silencelist::iterator i = sl->begin(); i != sl->end(); i++)
|
||||
{
|
||||
{
|
||||
// search through for the item
|
||||
irc::string listitem = i->c_str();
|
||||
if (listitem == mask)
|
||||
{
|
||||
sl->erase(i);
|
||||
{
|
||||
sl->erase(i);
|
||||
user->WriteServ("950 %s %s :Removed %s from silence list",user->nick, user->nick, mask.c_str());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!sl->size())
|
||||
else
|
||||
{
|
||||
// tidy up -- if a user's list is empty, theres no use having it
|
||||
// hanging around in the user record.
|
||||
|
Loading…
x
Reference in New Issue
Block a user