summaryrefslogtreecommitdiff
path: root/src/unreal32.c
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-22 05:06:02 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-22 05:06:02 +0000
commit91e8ac0878ecac082bc1b87f433deb9fe3ad32e4 (patch)
tree51aa1f02e06fb6c18f3da25ce3268881c36feabc /src/unreal32.c
parentbb86fdcab2b31bc5d652006c523e25d699bacab1 (diff)
BUILD : 1.7.5 (415) BUGS : N/A NOTES : Fixes Unreal NICKIP and SVSMODE, Updated Base64 lib to fix NICKIP, Updated Spanish language file
git-svn-id: svn://svn.anope.org/anope/trunk@415 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@278 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/unreal32.c')
-rw-r--r--src/unreal32.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/unreal32.c b/src/unreal32.c
index 71573e5af..8766df588 100644
--- a/src/unreal32.c
+++ b/src/unreal32.c
@@ -796,7 +796,7 @@ void anope_cmd_svskill(char *source, char *user, const char *fmt, ...)
*/
void anope_cmd_svsmode(User * u, int ac, char **av)
{
- if (ac > 1) {
+ if (ac >= 1) {
if (!u || !av[0]) {
return;
}
@@ -1742,7 +1742,6 @@ int anope_event_sethost(char *source, int ac, char **av)
return MOD_CONT;
}
-
/*
** NICK - new
** source = NULL
@@ -1793,7 +1792,7 @@ int anope_event_nick(char *source, int ac, char **av)
user = do_nick(source, av[0], av[3], av[4], av[5], av[10],
strtoul(av[2], NULL, 10), strtoul(av[6], NULL,
0),
- base64dec(av[9]), av[8], NULL);
+ ntohl(decode_ip(av[9])), av[8], NULL);
if (user)
anope_set_umode(user, 1, &av[7]);