summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 00da06cbb..09eee8b05 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -304,9 +304,14 @@ impHandler0(ipcToggle)
{
IPC::start();
if (ipc)
- debugChatTab->chatLog(strprintf("IPC service available on port %d", ipc->port()));
+ {
+ debugChatTab->chatLog(strprintf("IPC service available on port %d",
+ ipc->getPort()));
+ }
else
+ {
debugChatTab->chatLog("Unable to start IPC service");
+ }
}
}