summaryrefslogtreecommitdiff
path: root/src/ultimate3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ultimate3.c')
-rw-r--r--src/ultimate3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ultimate3.c b/src/ultimate3.c
index b9f1b43a6..f8f0c2834 100644
--- a/src/ultimate3.c
+++ b/src/ultimate3.c
@@ -784,8 +784,9 @@ int anope_event_436(char *source, int ac, char **av)
int anope_event_away(char *source, int ac, char **av)
{
- if (ac < 1)
+ if (ac) {
return MOD_CONT;
+ }
if (!source) {
return MOD_CONT;