summaryrefslogtreecommitdiff
path: root/src/protocol/unreal31.c
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-05-03 17:58:59 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-05-03 17:58:59 +0000
commit24aa73984fc38a38fd8213c11d49dd36cf517894 (patch)
treed77a294ca8855e2392e708d4f4fbfac0bc67cdbc /src/protocol/unreal31.c
parente8974f0d3e50a35c36ed63a1b454d2dc9fba51fc (diff)
BUILD : 1.7.8 (761) BUGS : N/A NOTES : Tidied up tr.l in trunk
git-svn-id: svn://svn.anope.org/anope/trunk@761 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@522 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/unreal31.c')
-rw-r--r--src/protocol/unreal31.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/protocol/unreal31.c b/src/protocol/unreal31.c
index ef5ab6d30..4dcf7da84 100644
--- a/src/protocol/unreal31.c
+++ b/src/protocol/unreal31.c
@@ -373,13 +373,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
- */
- 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 '+':
@@ -1007,8 +1007,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)
@@ -1540,7 +1540,8 @@ int AnopeInit(int argc, char **argv)
{
moduleAddAuthor("Anope");
- moduleAddVersion("$Id$");
+ moduleAddVersion
+ ("$Id$");
moduleSetType(PROTOCOL);
pmodule_ircd_version("UnrealIRCd 3.1.1+");