mirror of
https://github.com/anope/anope.git
synced 2026-07-04 16:33:13 +02:00
BUILD : 1.7.5 (325) BUGS : 128 139 146 147 148 NOTES : Applied patch supplied by Trystan to fix bugs listed above.
git-svn-id: svn://svn.anope.org/anope/trunk@325 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@202 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
e885253744
commit
26ea4bc11b
@@ -1120,6 +1120,9 @@ void do_cmode(const char *source, int ac, char **av)
|
||||
Channel *chan;
|
||||
ChannelInfo *ci = NULL;
|
||||
#ifdef IRC_BAHAMUT
|
||||
|
||||
/* Ultimate3 doesn't send TS on Mode - TSL */
|
||||
#if !defined(IRC_ULTIMATE3)
|
||||
int i;
|
||||
char *t;
|
||||
|
||||
@@ -1141,6 +1144,8 @@ void do_cmode(const char *source, int ac, char **av)
|
||||
alog("TSMODE enabled but MODE has no valid TS");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
chan = findchan(av[0]);
|
||||
|
||||
+2
-2
@@ -409,8 +409,8 @@ static int m_client(char *source, int ac, char **av)
|
||||
static int m_snick(char *source, int ac, char **av)
|
||||
{
|
||||
if (ac != 2) {
|
||||
User *user = do_nick(source, av[0], av[3], av[4], av[8], av[10],
|
||||
strtoul(av[1], NULL, 10), strtoul(av[7], NULL,
|
||||
User *user = do_nick(source, av[0], av[3], av[4], av[7], av[10],
|
||||
strtoul(av[1], NULL, 10), strtoul(av[8], NULL,
|
||||
0),
|
||||
strtoul(av[5], NULL, 0), av[6]);
|
||||
if (user) {
|
||||
|
||||
@@ -230,9 +230,14 @@ void send_mode(const char *source, const char *on, const char *fmt, ...)
|
||||
|
||||
vsnprintf(buf, sizeof(buf), fmt, args);
|
||||
#ifdef IRC_BAHAMUT
|
||||
|
||||
/* Ultimate3 doesn't send TS Mode - doing so will cause modes not to send */
|
||||
/* btw - this is used by channel setting was well - TSL */
|
||||
#if !defined(IRC_ULTIMATE3)
|
||||
if (uplink_capab & CAPAB_TSMODE)
|
||||
send_cmd(source, "MODE %s 0 %s", on, buf);
|
||||
else
|
||||
#endif
|
||||
#endif
|
||||
send_cmd(source, "MODE %s %s", on, buf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user