]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sasl.cpp
TRE regex provider (the same engine used by Unreal 3.2)
[user/henk/code/inspircd.git] / src / modules / m_sasl.cpp
index ffd6259ff274c3de9d1cce21981f24f3b662bde8..a9f2f205c8c0438643c0aaf8b66a82d1e3d45030 100644 (file)
@@ -134,13 +134,13 @@ class SaslAuthenticator : public classbase
                switch (this->result)
                {
                 case SASL_OK:
-                       this->user->WriteNumeric(903, "%s :SASL authentication successful", this->user->nick);
+                       this->user->WriteNumeric(903, "%s :SASL authentication successful", this->user->nick.c_str());
                        break;
                 case SASL_ABORT:
-                       this->user->WriteNumeric(906, "%s :SASL authentication aborted", this->user->nick);
+                       this->user->WriteNumeric(906, "%s :SASL authentication aborted", this->user->nick.c_str());
                        break;
                 case SASL_FAIL:
-                       this->user->WriteNumeric(904, "%s :SASL authentication failed", this->user->nick);
+                       this->user->WriteNumeric(904, "%s :SASL authentication failed", this->user->nick.c_str());
                        break;
                 default:
                        break;
@@ -188,7 +188,7 @@ class ModuleSASL : public Module
 {
        CommandAuthenticate* sasl;
  public:
-       
+
        ModuleSASL(InspIRCd* Me)
                : Module(Me)
        {
@@ -250,7 +250,7 @@ class ModuleSASL : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+               return Version("$Id$",VF_VENDOR,API_VERSION);
        }
 
        virtual void OnEvent(Event *ev)