From 147d9a91a69a57f12bc35b059d891ea9e6068689 Mon Sep 17 00:00:00 2001 From: "certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Mon, 24 Jul 2006 22:12:44 +0000 Subject: # BUILD : 1.7.14 (1102) # BUGS : 560 # NOTES : fixed ptlink /newmask stuff. thx to trystan. git-svn-id: svn://svn.anope.org/anope/trunk@1102 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@826 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/ptlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit