summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-20 12:33:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-21 21:09:08 +0300
commit54ee7d240a8ab3a328d0f3f06f3b9627d4727c90 (patch)
treea50136462b44739cecf17c438ed65640d031dbcd /src/commands.cpp
parentc483cf600e74e7d38a7c0cc7d80435e97040c76c (diff)
downloadmanaverse-54ee7d240a8ab3a328d0f3f06f3b9627d4727c90.tar.gz
manaverse-54ee7d240a8ab3a328d0f3f06f3b9627d4727c90.tar.bz2
manaverse-54ee7d240a8ab3a328d0f3f06f3b9627d4727c90.tar.xz
manaverse-54ee7d240a8ab3a328d0f3f06f3b9627d4727c90.zip
Send channel name to net code layer.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 64bb6ba3b..80e276d8b 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -182,7 +182,7 @@ static void outStringNormal(ChatTab *const tab,
if (!tab)
{
- Net::getChatHandler()->talk(str);
+ Net::getChatHandler()->talk(str, GENERAL_CHANNEL);
return;
}
@@ -214,7 +214,7 @@ static void outStringNormal(ChatTab *const tab,
break;
}
default:
- Net::getChatHandler()->talk(def);
+ Net::getChatHandler()->talk(def, GENERAL_CHANNEL);
break;
}
}