summaryrefslogtreecommitdiff
path: root/src/ultimate2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ultimate2.c')
-rw-r--r--src/ultimate2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ultimate2.c b/src/ultimate2.c
index 0b612a8fd..635b1d56f 100644
--- a/src/ultimate2.c
+++ b/src/ultimate2.c
@@ -1195,8 +1195,9 @@ int anope_event_ping(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;