summaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
diff options
context:
space:
mode:
authorGravatar w00t2007-10-15 20:59:05 +0000
committerGravatar w00t2007-10-15 20:59:05 +0000
commitb57c7f4e466f72fdd2ac3deca42caa1ea7748338 (patch)
tree3cbfe66354be62ddd22d7614e9d6116f465e807b /src/modules/m_alias.cpp
parentclass command_t -> class Command. Whey :D (diff)
In the grand tradition of huge fucking commits:
- chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_alias.cpp')
-rw-r--r--src/modules/m_alias.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index 7f09de134..90517255e 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -127,9 +127,9 @@ class ModuleAlias : public Module
}
}
- virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, userrec *user, bool validated, const std::string &original_line)
+ virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, User *user, bool validated, const std::string &original_line)
{
- userrec *u = NULL;
+ User *u = NULL;
/* If theyre not registered yet, we dont want
* to know.
@@ -210,7 +210,7 @@ class ModuleAlias : public Module
return 0;
}
- void DoCommand(std::string newline, userrec* user, const std::string &original_line)
+ void DoCommand(std::string newline, User* user, const std::string &original_line)
{
for (int v = 1; v < 10; v++)
{
@@ -260,7 +260,7 @@ class ModuleAlias : public Module
ServerInstance->Parser->CallHandler(parv[0], &parv[1], x-1, user);
}
- virtual void OnRehash(userrec* user, const std::string &parameter)
+ virtual void OnRehash(User* user, const std::string &parameter)
{
ReadAliases();
}