summaryrefslogtreecommitdiff
path: root/src/protocol/ultimate2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/ultimate2.c')
-rw-r--r--src/protocol/ultimate2.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/protocol/ultimate2.c b/src/protocol/ultimate2.c
index cdd7016d5..5aa0f2be8 100644
--- a/src/protocol/ultimate2.c
+++ b/src/protocol/ultimate2.c
@@ -154,13 +154,13 @@ void ultiamte2_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 '+':
@@ -1118,8 +1118,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_topic(char *source, int ac, char **av)
@@ -1683,7 +1683,8 @@ int AnopeInit(int argc, char **argv)
{
moduleAddAuthor("Anope");
- moduleAddVersion("$Id$");
+ moduleAddVersion
+ ("$Id$");
moduleSetType(PROTOCOL);
pmodule_ircd_version("UltimateIRCd 2.8.2+");