]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_foobar.cpp
Broken code commented out by brain until we can fix it.
[user/henk/code/inspircd.git] / src / modules / m_foobar.cpp
index 0c8907bea8f6381795e489b035db2143d0b09683..ab3fa759ba83400dfbabbb4848435d669ff114a9 100644 (file)
@@ -44,7 +44,7 @@ class ModuleFoobar : public Module
        {
                // method called when a user connects
        
-               string b = user->nick;
+               std::string b = user->nick;
                Srv->Log(DEBUG,"Foobar: User connecting: " + b);
        }
 
@@ -52,7 +52,7 @@ class ModuleFoobar : public Module
        {
                // method called when a user disconnects
        
-               string b = user->nick;
+               std::string b = user->nick;
                Srv->Log(DEBUG,"Foobar: User quitting: " + b);
        }
        
@@ -60,8 +60,8 @@ class ModuleFoobar : public Module
        {
                // method called when a user joins a channel
        
-               string c = channel->name;
-               string b = user->nick;
+               std::string c = channel->name;
+               std::string b = user->nick;
                Srv->Log(DEBUG,"Foobar: User " + b + " joined " + c);
        }
 
@@ -69,8 +69,8 @@ class ModuleFoobar : public Module
        {
                // method called when a user parts a channel
        
-               string c = channel->name;
-               string b = user->nick;
+               std::string c = channel->name;
+               std::string b = user->nick;
                Srv->Log(DEBUG,"Foobar: User " + b + " parted " + c);
        }