aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_foobar.cpp
diff options
context:
space:
mode:
authorGravatar randomdan2003-07-22 21:56:38 +0000
committerGravatar randomdan2003-07-22 21:56:38 +0000
commit61b45c935dbb50c280970c9f431fd1c7ef4eb680 (patch)
treeaf2d10b329c9ef362d97c884827dd1e0a11841b4 /src/modules/m_foobar.cpp
parentAdded more code for custom channel/user modes via modules (diff)
STL namespace fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@176 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_foobar.cpp')
-rw-r--r--src/modules/m_foobar.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index 0c8907bea..ab3fa759b 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -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);
}