mirror of
https://github.com/anope/anope.git
synced 2026-06-26 20:16:38 +02:00
# BUILD : 1.7.15 (1166) # BUGS : 603 # NOTES : Modified do_umode() to work with last fix.
git-svn-id: svn://svn.anope.org/anope/trunk@1166 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@888 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
86f5463a30
commit
ea9c78fa8a
+2
-10
@@ -772,17 +772,9 @@ void do_umode(const char *source, int ac, char **av)
|
||||
{
|
||||
User *user;
|
||||
|
||||
if (stricmp(source, av[0]) != 0) {
|
||||
alog("user: MODE %s %s from different nick %s!", av[0], av[1],
|
||||
source);
|
||||
anope_cmd_global(NULL, "%s attempted to change mode %s for %s",
|
||||
source, av[1], av[0]);
|
||||
return;
|
||||
}
|
||||
|
||||
user = finduser(source);
|
||||
user = finduser(av[0]);
|
||||
if (!user) {
|
||||
alog("user: MODE %s for nonexistent nick %s: %s", av[1], source,
|
||||
alog("user: MODE %s for nonexistent nick %s: %s", av[1], av[0],
|
||||
merge_args(ac, av));
|
||||
return;
|
||||
}
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="15"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="1165"
|
||||
VERSION_BUILD="1166"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.15 (1166)
|
||||
# BUGS : 603
|
||||
# NOTES : Modified do_umode() to work with last fix.
|
||||
#
|
||||
# BUILD : 1.7.15 (1165)
|
||||
# BUGS : 603
|
||||
# NOTES : Added support for SVSMODE by parsing it as a MODE on supported IRCDs
|
||||
|
||||
Reference in New Issue
Block a user