Indent tidyup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4970 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-08-18 19:53:23 +00:00
parent a2d8fbc45d
commit 365fd7e1e9

View File

@ -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.