mirror of
https://github.com/anope/anope.git
synced 2026-07-08 18:23:13 +02:00
BUILD : 1.7.8 (646) BUGS : 327 329 334 335 NOTES : Fixed quite a few bugs with mode handling (not always removed correctly, added/removed modes were split), fixed a segfault in chan_set_correct_modes, fixed some issues with topic setting, made stripModePrefix really stripping the mode prefix instead of the first char
git-svn-id: svn://svn.anope.org/anope/trunk@646 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@494 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
0783c0d875
commit
b30ca2f8f2
+1
-1
@@ -1144,7 +1144,7 @@ char *str_signed(unsigned char *str)
|
||||
**/
|
||||
|
||||
char *stripModePrefix(const char *str) {
|
||||
if(str) {
|
||||
if (str && ((*str == '+') || (*str == '-'))) {
|
||||
return sstrdup(str+1);
|
||||
}
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user