r7956 - /trunk/jabber/src/jabberplugin.cpp

[email protected]
Newsgroups gmane.network.licq.cvs
Message-ID <20101031092026.03E83224B82@thejon>
Author: erijo
Date: Sun Oct 31 18:20:25 2010
New Revision: 7956

Log:
Implemented LProto_ConfigFile for jabber

Modified:
    trunk/jabber/src/jabberplugin.cpp

Modified: trunk/jabber/src/jabberplugin.cpp
==============================================================================
--- trunk/jabber/src/jabberplugin.cpp (original)
+++ trunk/jabber/src/jabberplugin.cpp Sun Oct 31 18:20:25 2010
@@ -39,6 +39,12 @@
   return version;
 }
 
+const char* LProto_ConfigFile()
+{
+  static char configFile[] = "licq_jabber.conf";
+  return configFile;
+}
+
 const char* LProto_PPID()
 {
   static char ppid[] = "XMPP";
@@ -60,7 +66,7 @@
 
 int LProto_Main()
 {
-  Jabber::Config config("licq_jabber.conf");
+  Jabber::Config config(LProto_ConfigFile());
 
   int pipe = Licq::gPluginManager.registerProtocolPlugin();
   int res = Jabber::Plugin(config).run(pipe);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.