From e57383a387729e496591aa878fc13ab1f9426461 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Sat, 16 Feb 2013 16:48:22 +0100 Subject: JOIN gefixt --- plugins/postconnect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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")); -- cgit v1.2.3