mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
parent
84f2c99234
commit
4ee8d931cd
@ -128,6 +128,9 @@ CmdResult CommandFJoin::Handle(User* srcuser, Params& params)
|
||||
|
||||
if (!chan)
|
||||
{
|
||||
if (channel[0] != '#')
|
||||
throw ProtocolException("Malformed channel name in FJOIN '" + channel + '"');
|
||||
|
||||
chan = new Channel(channel, TS);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user