1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 21:03:13 +02:00

BUILD : 1.7.18 (1246) BUGS : NOTES : Fixed possible compile error with inspircd11 on win32

git-svn-id: svn://svn.anope.org/anope/trunk@1246 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@965 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2007-06-10 11:43:40 +00:00
parent 461af46f0e
commit 60794f50c7
3 changed files with 16 additions and 13 deletions
+3 -3
View File
@@ -711,6 +711,9 @@ int anope_event_fjoin(char *source, int ac, char **av)
{
char *newav[10];
/* value used for myStrGetToken */
int curtoken = 0;
/* storing the current nick */
char *curnick;
@@ -724,9 +727,6 @@ int anope_event_fjoin(char *source, int ac, char **av)
*nicklist = '\0';
*prefixandnick = '\0';
/* value used for myStrGetToken */
int curtoken = 0;
if (ac < 3)
return MOD_CONT;
+8 -9
View File
@@ -136,9 +136,8 @@ void notice_user(char *source, User * u, const char *fmt, ...)
* - The user is not registered and NSDefMsg is enabled
* - The user is registered and has set /ns set msg on
*/
if (UsePrivmsg
&& ((!u->na && (NSDefFlags & NI_MSG))
|| (u->na && (u->na->nc->flags & NI_MSG)))) {
if (UsePrivmsg && ((!u->na && (NSDefFlags & NI_MSG))
|| (u->na && (u->na->nc->flags & NI_MSG)))) {
anope_cmd_privmsg2(source, u->nick, buf);
} else {
anope_cmd_notice2(source, u->nick, buf);
@@ -208,9 +207,9 @@ void notice_lang(char *source, User * dest, int message, ...)
* - The user is not registered and NSDefMsg is enabled
* - The user is registered and has set /ns set msg on
*/
if (UsePrivmsg
&& ((!dest->na && (NSDefFlags & NI_MSG))
|| (dest->na && (dest->na->nc->flags & NI_MSG)))) {
if (UsePrivmsg && ((!dest->na && (NSDefFlags & NI_MSG))
|| (dest->na
&& (dest->na->nc->flags & NI_MSG)))) {
anope_cmd_privmsg2(source, dest->nick, *t ? t : " ");
} else {
anope_cmd_notice2(source, dest->nick, *t ? t : " ");
@@ -264,9 +263,9 @@ void notice_help(char *source, User * dest, int message, ...)
* - The user is not registered and NSDefMsg is enabled
* - The user is registered and has set /ns set msg on
*/
if (UsePrivmsg
&& ((!dest->na && (NSDefFlags & NI_MSG))
|| (dest->na && (dest->na->nc->flags & NI_MSG)))) {
if (UsePrivmsg && ((!dest->na && (NSDefFlags & NI_MSG))
|| (dest->na
&& (dest->na->nc->flags & NI_MSG)))) {
anope_cmd_privmsg2(source, dest->nick, *outbuf ? outbuf : " ");
} else {
anope_cmd_notice2(source, dest->nick, *outbuf ? outbuf : " ");
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="18"
VERSION_EXTRA="-svn"
VERSION_BUILD="1245"
VERSION_BUILD="1246"
# $Log$
#
# BUILD : 1.7.18 (1246)
# BUGS :
# NOTES : Fixed possible compile error with inspircd11 on win32
#
# BUILD : 1.7.18 (1245)
# BUGS : 671
# NOTES : NSDefKill can now only be enabled if UsePrivmsg is also enabled; NSDefKill is now used instead of UsePrivmsg to determine whether unregistered users receive PRIVMSGs or NOTICEs