mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Fix blank instead of empty PART message when a user is shunned
This commit is contained in:
parent
aa19c8fc02
commit
3243c7d238
@ -280,7 +280,7 @@ class ModuleShun : public Module
|
|||||||
else if ((command == "PART") && (parameters.size() > 1))
|
else if ((command == "PART") && (parameters.size() > 1))
|
||||||
{
|
{
|
||||||
/* same for PART */
|
/* same for PART */
|
||||||
parameters[1].clear();
|
parameters.pop_back();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if we're here, allow the command. */
|
/* if we're here, allow the command. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user