Fixes code according to modern code style. Fixes a few expression bugs.
This commit is contained in:
parent
89eea25e5f
commit
970fd563b2
3324 changed files with 441118 additions and 433755 deletions
|
|
@ -1,20 +1,20 @@
|
|||
namespace Server.Engines.Chat
|
||||
{
|
||||
public delegate void OnChatAction( ChatUser from, Channel channel, string param );
|
||||
public delegate void OnChatAction(ChatUser from, Channel channel, string param);
|
||||
|
||||
public class ChatActionHandler
|
||||
{
|
||||
public bool RequireModerator { get; }
|
||||
public class ChatActionHandler
|
||||
{
|
||||
public ChatActionHandler(bool requireModerator, bool requireConference, OnChatAction callback)
|
||||
{
|
||||
RequireModerator = requireModerator;
|
||||
RequireConference = requireConference;
|
||||
Callback = callback;
|
||||
}
|
||||
|
||||
public bool RequireConference { get; }
|
||||
public bool RequireModerator{ get; }
|
||||
|
||||
public OnChatAction Callback { get; }
|
||||
public bool RequireConference{ get; }
|
||||
|
||||
public ChatActionHandler( bool requireModerator, bool requireConference, OnChatAction callback )
|
||||
{
|
||||
RequireModerator = requireModerator;
|
||||
RequireConference = requireConference;
|
||||
Callback = callback;
|
||||
}
|
||||
}
|
||||
public OnChatAction Callback{ get; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue