diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/ptlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/ptlink.c b/src/protocol/ptlink.c index c0bb4c347..760e9c446 100644 --- a/src/protocol/ptlink.c +++ b/src/protocol/ptlink.c @@ -456,7 +456,7 @@ int anope_event_newmask(char *source, int ac, char **av) newhost = av[0]; } - if (*newhost == '@') + if (newhost && *newhost == '@') newhost++; u->mode |= UMODE_VH; |