diff options
author | Florian Jung <florian.a.jung@web.de> | 2013-02-16 16:48:22 +0100 |
---|---|---|
committer | Florian Jung <florian.a.jung@web.de> | 2013-02-16 16:48:22 +0100 |
commit | e57383a387729e496591aa878fc13ab1f9426461 (patch) | |
tree | 345b8fe0b46720bccd54f14ceccb9e5d21c79cbc /plugins | |
parent | 74377ece178e661194a40fa79238b3089bb0d0f2 (diff) |
JOIN gefixt
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/postconnect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/postconnect.cpp b/plugins/postconnect.cpp index bac219e..f5dc4c1 100644 --- a/plugins/postconnect.cpp +++ b/plugins/postconnect.cpp @@ -22,7 +22,7 @@ extern "C" void plugin (plugincontext* context, ircmessage msg, TPluginParentLig cout << parent->get_parent()->get_networkname() << endl; cout << config.get_string(parent->get_parent()->get_networkname() + ".join") << endl; //evtl aus datei lesen? - parent->get_parent()->send ("join #DrunkenMan" NEWLINE); + parent->get_parent()->send ("join " + config.get_string(parent->get_parent()->get_networkname() + ".join") + NEWLINE); if (config.is_string(parent->get_parent()->get_networkname()+".pass")) parent->get_parent()->send("PRIVMSG NickServ :identify "+config.get_string(parent->get_parent()->get_networkname()+".nick")+" "+config.get_string(parent->get_parent()->get_networkname()+".pass")); |