diff options
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r-- | plugins/Scriver/src/chat/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Scriver/src/chat/main.cpp b/plugins/Scriver/src/chat/main.cpp index ea43bb764c..b283bbec90 100644 --- a/plugins/Scriver/src/chat/main.cpp +++ b/plugins/Scriver/src/chat/main.cpp @@ -53,6 +53,11 @@ static void OnAddLog(SESSION_INFO *si, int isOk) SendMessage(si->hWnd, GC_REDRAWLOG2, 0, 0);
}
+static void OnCreateSession(SESSION_INFO *si, MODULEINFO*)
+{
+ si->windowData.flags = CWDF_RTF_INPUT;
+}
+
static void OnSessionDblClick(SESSION_INFO *si)
{
PostMessage(si->hWnd, GC_CLOSEWINDOW, 0, 0);
@@ -171,6 +176,7 @@ int Chat_Load() pci->OnAddLog = OnAddLog;
+ pci->OnCreateSession = OnCreateSession;
pci->OnSessionRemove = OnSessionRemove;
pci->OnSessionRename = OnSessionRename;
pci->OnSessionReplace = OnSessionReplace;
|