1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 23:03:12 +02:00

Don't truncate error message (umode +q & umode +S)

This commit is contained in:
Bram Matthys
2015-10-10 11:22:37 +02:00
parent da7cd5f8cc
commit 75fb661361
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ MOD_UNLOAD(nokick)
int nokick_can_kick(aClient *sptr, aClient *target, aChannel *chptr, char *comment,
long sptr_flags, long target_flags, char **reject_reason)
{
static char errmsg[NICKLEN+32];
static char errmsg[NICKLEN+256];
if (IsNokick(target) && !IsULine(sptr) && MyClient(sptr) && !ValidatePermissionsForPath("override:kick:nokick",sptr,target,chptr,NULL))
{
+2 -2
View File
@@ -77,7 +77,7 @@ MOD_UNLOAD(servicebot)
int servicebot_can_kick(aClient *sptr, aClient *target, aChannel *chptr, char *comment,
long sptr_flags, long target_flags, char **reject_reason)
{
static char errmsg[NICKLEN+32];
static char errmsg[NICKLEN+256];
if (MyClient(sptr) && !IsULine(sptr) && IsServiceBot(target))
{
@@ -98,7 +98,7 @@ int servicebot_can_kick(aClient *sptr, aClient *target, aChannel *chptr, char *c
int servicebot_mode_deop(aClient *sptr, aClient *target, aChannel *chptr,
u_int what, char modechar, long my_access, char **reject_reason)
{
static char errmsg[NICKLEN+32];
static char errmsg[NICKLEN+256];
if (IsServiceBot(target) && MyClient(sptr) && !ValidatePermissionsForPath("servicebot:deop",sptr,target,chptr,NULL) && (what == MODE_DEL))
{