summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/chat_main.cpp')
-rw-r--r--plugins/TabSRMM/src/chat_main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/chat_main.cpp b/plugins/TabSRMM/src/chat_main.cpp
index de304dfc85..02c906685f 100644
--- a/plugins/TabSRMM/src/chat_main.cpp
+++ b/plugins/TabSRMM/src/chat_main.cpp
@@ -242,6 +242,11 @@ static int OnHandleGCMenu(WPARAM, LPARAM lParam)
return 0;
}
+static void stubShowRoom(SESSION_INFO *si)
+{
+ ShowRoom(nullptr, si);
+}
+
// load the module
int Chat_Load()
{
@@ -259,7 +264,7 @@ int Chat_Load()
pci->OnReplaceSession = OnReplaceSession;
pci->OnChangeNick = OnChangeNick;
- pci->ShowRoom = ShowRoom;
+ pci->ShowRoom = stubShowRoom;
pci->OnLoadSettings = OnLoadSettings;
// this operation is unsafe, that's why we restore the old pci state on exit