diff options
Diffstat (limited to 'src/protocol/solidircd.c')
-rw-r--r-- | src/protocol/solidircd.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/protocol/solidircd.c b/src/protocol/solidircd.c index e8aab2a42..55fd83f61 100644 --- a/src/protocol/solidircd.c +++ b/src/protocol/solidircd.c @@ -155,13 +155,13 @@ void solidircd_set_umode(User * user, int ac, char **av) while (*modes) { - /* This looks better, much better than "add ? (do_add) : (do_remove)". - * At least this is readable without paying much attention :) -GD - */ - if (add) - user->mode |= umodes[(int) *modes]; - else - user->mode &= ~umodes[(int) *modes]; + /* This looks better, much better than "add ? (do_add) : (do_remove)". + * At least this is readable without paying much attention :) -GD + */ + if (add) + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -1308,8 +1308,8 @@ int anope_event_away(char *source, int ac, char **av) if (!source) { return MOD_CONT; } - m_away(source, (ac ? av[0] : NULL)); - return MOD_CONT; + m_away(source, (ac ? av[0] : NULL)); + return MOD_CONT; } int anope_event_ping(char *source, int ac, char **av) @@ -1656,7 +1656,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("Solid-IRCd 3.4.*"); |