mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 01:03:12 +02:00
- Made it so if the channel is +m but -t, you need at least voice (+v) to change the topic.
Reported by aquanight (#0002233). [commit accidently happened earlier btw...]
This commit is contained in:
@@ -260,7 +260,7 @@ long flags = 0; /* cache: membership flags */
|
||||
{
|
||||
char buf[512];
|
||||
/* With +m and -t, only voice and higher may change the topic */
|
||||
ircsprintf(buf, "You need at least voice (+v) in order to change the topic on %s (channel is +m)", chptr->chname);
|
||||
ircsprintf(buf, "Voice (+v) or higher is required in order to change the topic on %s (channel is +m)", chptr->chname);
|
||||
sendto_one(sptr, err_str(ERR_CANNOTDOCOMMAND), me.name, parv[0], "TOPIC", buf);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user