mirror of
https://github.com/anope/anope.git
synced 2026-07-04 14:33:15 +02:00
Pretty large coding style cleanup, in source doc
cleanup, and allow protocol mods to depend on each other
This commit is contained in:
@@ -18,8 +18,8 @@ class CommandModeBase : public Command
|
||||
void do_mode(CommandSource &source, Command *com, ChannelMode *cm, const Anope::string &chan, const Anope::string &nick, bool set, const Anope::string &level, const Anope::string &levelself)
|
||||
{
|
||||
User *u = source.GetUser();
|
||||
User *u2 = finduser(nick);
|
||||
Channel *c = findchan(chan);
|
||||
User *u2 = User::Find(nick, true);
|
||||
Channel *c = Channel::Find(chan);
|
||||
|
||||
if (!c)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user