summaryrefslogtreecommitdiff
path: root/messages.c
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-06-20 17:57:07 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-06-20 17:57:07 +0000
commitecfb58ca92d7a72aab2b1391485d5570fe16451b (patch)
tree148811693570a72dd9aafc00c23316ea4587e634 /messages.c
parent1d1c478e4ff9c484be01ad0d55d5f3c0a91b2561 (diff)
BUILD : 1.7.4 (207) BUGS : N/A NOTES : Fixed PTLink m_server incorrect argument count
git-svn-id: svn://svn.anope.org/anope/trunk@207 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@149 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'messages.c')
-rw-r--r--messages.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/messages.c b/messages.c
index 12804e036..4d2488987 100644
--- a/messages.c
+++ b/messages.c
@@ -711,7 +711,11 @@ static int m_server(char *source, int ac, char **av)
{
if (!stricmp(av[1], "1"))
uplink = sstrdup(av[0]);
+#ifdef IRC_PTLINK
+ if (ac != 4)
+#else
if (ac != 3)
+#endif
return MOD_CONT;
do_server(source, ac, av);
return MOD_CONT;