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:
@@ -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))
|
||||
{
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user