summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/postconnect.cpp2
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"));