diff options
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r-- | src/protocol/unreal32.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 77641e094..8ef4d419f 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -427,13 +427,13 @@ void unreal_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 - */ + /* 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]; + user->mode |= umodes[(int) *modes]; + else + user->mode &= ~umodes[(int) *modes]; switch (*modes++) { case '+': @@ -1180,8 +1180,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; } /* @@ -2171,7 +2171,8 @@ int AnopeInit(int argc, char **argv) { moduleAddAuthor("Anope"); - moduleAddVersion("$Id$"); + moduleAddVersion + ("$Id$"); moduleSetType(PROTOCOL); pmodule_ircd_version("UnrealIRCd 3.2+"); |