summaryrefslogtreecommitdiff
path: root/src/chat/chat.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:41 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:41 +0200
commit520f54d6219b7c625b4e07463ac393e6982ddab6 (patch)
tree74b4483786b3842b1a0384fd33deb7483276bea1 /src/chat/chat.h
parentae4e87df37ed8904de92c7cf2f3a11128cda2a21 (diff)
tagging ychat-0.7.1ychat-0.7.1
Diffstat (limited to 'src/chat/chat.h')
-rwxr-xr-xsrc/chat/chat.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/chat/chat.h b/src/chat/chat.h
index 86b7c0b..c37bebc 100755
--- a/src/chat/chat.h
+++ b/src/chat/chat.h
@@ -21,7 +21,7 @@ using namespace std;
class chat : public base<room>, public perm
{
private:
- map<string,string> map_replace_strings;
+ map_string map_replace_strings;
vector<string> vec_replace_keys;
public:
@@ -46,10 +46,10 @@ public:
static void get_user_( room* room_obj, void *v_arg );
// will be called every time a user tries to login.
- void login( map<string,string> &map_params );
+ void login( map_string &map_params );
// will be called if a user posts a message.
- void post ( user* u_user, map<string,string> &map_params );
+ void post ( user* u_user, map_string &map_params );
void del_elem( string s_name )
{
@@ -57,6 +57,5 @@ public:
}
void reconf();
- void string_replacer(string *p_msg);
};
#endif