mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-04 04:06:05 +13:00
Suppress command 376 too
This commit is contained in:
parent
f1af22a1aa
commit
e1f4604dc8
1 changed files with 11 additions and 2 deletions
|
@ -193,9 +193,18 @@ private bool CheckCommand(string message)
|
|||
|
||||
//:sendak.freenode.net 375 Jaex :- sendak.freenode.net Message of the Day -
|
||||
//:sendak.freenode.net 372 Jaex :- Welcome to sendak.freenode.net in Vilnius, Lithuania, EU.
|
||||
if ((messageInfo.Command == "375" || messageInfo.Command == "372") && Info.SuppressMOTD)
|
||||
//:sendak.freenode.net 376 Jaex :End of /MOTD command.
|
||||
if (Info.SuppressMOTD)
|
||||
{
|
||||
return true;
|
||||
if (messageInfo.Command == "375" || messageInfo.Command == "372")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else if (messageInfo.Command == "376")
|
||||
{
|
||||
OnConnected();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (messageInfo.User.UserType == IRCUserType.Me)
|
||||
|
|
Loading…
Reference in a new issue