diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | docs/NEWS | 41 | ||||
-rw-r--r-- | src/core/ns_set.c | 13 | ||||
-rw-r--r-- | version.log | 6 |
4 files changed, 57 insertions, 4 deletions
@@ -5,6 +5,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005 07/01 A Events for channel access/xop updates. [ #00] 06/26 A New module pack module: hs_request. [ #00] 06/03 A Protocol files can now fill mod_current_buffer with custom code. [#389] +08/07 F NS SET sometimes seeing options as nicks. [ #00] 08/05 F Bot max nick length limited by NICKMAX now. [ #00] 07/07 F Typing mistake in module error message. [ #00] 07/07 F Clarified comments for SendmailPath regarding -t option. [ #00] @@ -1,3 +1,44 @@ +Highlighted News in Anope 1.7 (and soon 1.8) +============================================ + * Fixed various exploits and vulnerabilities. + * Fixed various language typos and inconsistencies. + * Added a new and improved ./Config script. + * Added MySQL phase 2 implementation (see docs/MYSQL). + * Added NickServ registration delays. + * Added read receipts for memos. + * Added a way for modules to store data with internal structures. + * Added nick tracking support. + * Improved random number algorithm. + * Added support for SVSHOLD. + * Addes support for U:Lined servers. + * Added support for TS6 IRCd's. + * Removed proxy detector (see docs/PROXY). + * Added support for Windows. + * Added internal events for modules. + * Added a way to suspend nicks. + * Added support for module configuration directives. + * Converted the core to be completely modular. + * Added translation support for modules. + * Added a module pack with handy modules. + * Added IRCd protocol modules. + * Added support for new IRCd's. Currently supported: + - DreamForge 4.6.7 + - Bahamut 1.4.27 or later (including 1.8) + - UnrealIRCd 3.1.1 or later (including 3.2) + - UltimateIRCd 2.8.2 or later (including 3.0.0) + - Hybrid 7 or later + - ViagraIRCd 1.3 or later + - PTlink 6.15 or later + - RageIRCd 2.0 beta-6 or later + - Solid IRCd 3.4.6 or later + - Plexus 2.0 or later + - Ratbox 2.0.6 or later + - ShadowIRCd 4.0 beta 7 or later + * Added new languages. Currently included: + Catalan, German, English, Spanish, French, Greek, + Hungarian, Italian, Dutch, Polish, Portugese, + Russian, Turkish + Highlighted News in Anope 1.6 ============================= * Fixed various exploits and vulnerabilities. diff --git a/src/core/ns_set.c b/src/core/ns_set.c index 091a7fe42..a766fb8fd 100644 --- a/src/core/ns_set.c +++ b/src/core/ns_set.c @@ -119,6 +119,7 @@ int do_set(User * u) { char *cmd = strtok(NULL, " "); char *param = strtok(NULL, " "); + char *tmp = NULL; NickAlias *na; int is_servadmin = is_services_admin(u); @@ -130,9 +131,15 @@ int do_set(User * u) } if (is_servadmin && cmd && (na = findnick(cmd))) { - cmd = param; - param = strtok(NULL, " "); - set_nick = 1; + tmp = strtok(NULL, " "); + /* If there is no param left, don't treat the cmd as a + * nick. We have more chance of success that way. -GD + */ + if (tmp) { + cmd = param; + param = strtok(NULL, " "); + set_nick = 1; + } } else { na = u->na; } diff --git a/version.log b/version.log index 352340f56..849205c97 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="10" -VERSION_BUILD="847" +VERSION_BUILD="850" # $Log$ # +# BUILD : 1.7.10 (850) +# BUGS : +# NOTES : Fixed NS SET sometimes using the option as nick if it existed and updated docs/NEWS for 1.7 +# # BUILD : 1.7.10 (847) # BUGS : # NOTES : Fixed a typo when loading two protocol modules |