summaryrefslogtreecommitdiff
path: root/src/ptlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptlink.c')
-rw-r--r--src/ptlink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ptlink.c b/src/ptlink.c
index fe5198a9c..24d996fbf 100644
--- a/src/ptlink.c
+++ b/src/ptlink.c
@@ -1417,8 +1417,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;