summaryrefslogtreecommitdiff
path: root/src/mods
diff options
context:
space:
mode:
Diffstat (limited to 'src/mods')
-rw-r--r--src/mods/commands/CVS/Entries4
-rw-r--r--src/mods/commands/Makefile2
-rwxr-xr-xsrc/mods/commands/Makefile.in2
-rw-r--r--src/mods/html/CVS/Entries16
-rw-r--r--src/mods/html/Makefile2
-rwxr-xr-xsrc/mods/html/Makefile.in2
-rw-r--r--src/mods/html/yc_admin.cpp2
-rwxr-xr-xsrc/mods/html/yc_colors.cpp8
-rwxr-xr-xsrc/mods/html/yc_help.cpp4
-rwxr-xr-xsrc/mods/html/yc_loggedin.cpp2
-rwxr-xr-xsrc/mods/html/yc_options.cpp12
-rwxr-xr-xsrc/mods/html/yc_register.cpp14
12 files changed, 35 insertions, 35 deletions
diff --git a/src/mods/commands/CVS/Entries b/src/mods/commands/CVS/Entries
index 0e0d041..85ac1cd 100644
--- a/src/mods/commands/CVS/Entries
+++ b/src/mods/commands/CVS/Entries
@@ -1,5 +1,5 @@
-/Makefile/1.31/Sun Mar 6 20:44:47 2005//
-/Makefile.in/1.8/Sun Mar 6 20:44:47 2005//
+/Makefile/1.28/Fri Feb 18 19:48:12 2005//
+/Makefile.in/1.7/Thu Jul 8 14:39:03 2004//
/yc_about.cpp/1.2/Mon Feb 21 01:55:49 2005//
/yc_all.cpp/1.2/Mon Feb 21 01:55:49 2005//
/yc_away.cpp/1.9/Mon Feb 21 01:55:49 2005//
diff --git a/src/mods/commands/Makefile b/src/mods/commands/Makefile
index 977b548..6aec38d 100644
--- a/src/mods/commands/Makefile
+++ b/src/mods/commands/Makefile
@@ -5,7 +5,7 @@ INCLUDES=`cat ../../includes.add`
CFLAGS=`cat ../cflags.add`
all: mods
$(MODS):
- @echo -n "Compiling command module `basename $@ | sed s/\.so// | sed s/yc_//` "
+ @echo -n "Compiling command module `basename $@` "
@if ! test -d `dirname $@`; then mkdir -p `dirname $@`; fi
@$(CC) $(CFLAGS) $(INCLUDES) -shared -s -o $@ `echo $(notdir $@) | sed s/.so/.cpp/`
@du -hc $@ | tail -n 1 | sed s/total// | sed "s/ //g"
diff --git a/src/mods/commands/Makefile.in b/src/mods/commands/Makefile.in
index 7ca8455..ce8c00f 100755
--- a/src/mods/commands/Makefile.in
+++ b/src/mods/commands/Makefile.in
@@ -4,7 +4,7 @@ INCLUDES=`cat ../../includes.add`
CFLAGS=`cat ../cflags.add`
all: mods
$(MODS):
- @echo -n "Compiling command module `basename $@ | sed s/\.so// | sed s/yc_//` "
+ @echo -n "Compiling command module `basename $@` "
@if ! test -d `dirname $@`; then mkdir -p `dirname $@`; fi
@$(CC) $(CFLAGS) $(INCLUDES) -shared -s -o $@ `echo $(notdir $@) | sed s/.so/.cpp/`
@du -hc $@ | tail -n 1 | sed s/total// | sed "s/ //g"
diff --git a/src/mods/html/CVS/Entries b/src/mods/html/CVS/Entries
index c3b5155..a8f2422 100644
--- a/src/mods/html/CVS/Entries
+++ b/src/mods/html/CVS/Entries
@@ -1,9 +1,9 @@
-/Makefile/1.27/Sun Mar 6 20:44:47 2005//
-/Makefile.in/1.9/Sun Mar 6 20:44:47 2005//
-/yc_admin.cpp/1.8/Fri Feb 25 00:52:24 2005//
-/yc_colors.cpp/1.10/Fri Feb 25 00:52:24 2005//
-/yc_help.cpp/1.13/Fri Feb 25 00:52:24 2005//
-/yc_loggedin.cpp/1.4/Fri Feb 25 00:52:24 2005//
-/yc_options.cpp/1.10/Fri Feb 25 00:52:24 2005//
-/yc_register.cpp/1.13/Fri Feb 25 00:52:24 2005//
+/Makefile/1.24/Fri Feb 18 19:48:12 2005//
+/Makefile.in/1.8/Thu Jul 8 14:39:03 2004//
+/yc_admin.cpp/1.7/Mon Feb 21 01:55:50 2005//
+/yc_colors.cpp/1.9/Mon Feb 21 01:55:50 2005//
+/yc_help.cpp/1.12/Mon Feb 21 01:55:50 2005//
+/yc_loggedin.cpp/1.3/Mon Feb 21 01:55:50 2005//
+/yc_options.cpp/1.9/Mon Feb 21 01:55:50 2005//
+/yc_register.cpp/1.12/Mon Feb 21 01:55:50 2005//
D
diff --git a/src/mods/html/Makefile b/src/mods/html/Makefile
index 7c3b970..98deaf7 100644
--- a/src/mods/html/Makefile
+++ b/src/mods/html/Makefile
@@ -5,7 +5,7 @@ INCLUDES=`cat ../../includes.add`
CFLAGS=`cat ../cflags.add`
all: mods
$(MODS):
- @echo -n "Compiling html module `basename $@ | sed s/\.so// | sed s/yc_//` "
+ @echo -n "Compiling html module `basename $@` "
@if ! test -d `dirname $@`; then mkdir -p `dirname $@`; fi
@$(CC) $(CFLAGS) $(INCLUDES) -shared -s -o $@ `echo $(notdir $@) | sed s/.so/.cpp/`
@du -hc $@ | tail -n 1 | sed s/total// | sed "s/ //g"
diff --git a/src/mods/html/Makefile.in b/src/mods/html/Makefile.in
index b65c9e6..30f1782 100755
--- a/src/mods/html/Makefile.in
+++ b/src/mods/html/Makefile.in
@@ -4,7 +4,7 @@ INCLUDES=`cat ../../includes.add`
CFLAGS=`cat ../cflags.add`
all: mods
$(MODS):
- @echo -n "Compiling html module `basename $@ | sed s/\.so// | sed s/yc_//` "
+ @echo -n "Compiling html module `basename $@` "
@if ! test -d `dirname $@`; then mkdir -p `dirname $@`; fi
@$(CC) $(CFLAGS) $(INCLUDES) -shared -s -o $@ `echo $(notdir $@) | sed s/.so/.cpp/`
@du -hc $@ | tail -n 1 | sed s/total// | sed "s/ //g"
diff --git a/src/mods/html/yc_admin.cpp b/src/mods/html/yc_admin.cpp
index cbee80a..f3811f9 100644
--- a/src/mods/html/yc_admin.cpp
+++ b/src/mods/html/yc_admin.cpp
@@ -23,7 +23,7 @@ extern "C"
dynamic_wrap* p_wrap = (dynamic_wrap*) c->elem[0];
user* p_user = (user*) c->elem[2];
conf* p_conf = (conf*) p_wrap->CONF;
- string* p_content = &(*((map<string,string>*) c->elem[1]))["content"];
+ string* p_content = &(*((hashmap<string>*) c->elem[1]))["content"];
vector<string>* p_vec_keys = p_conf->get_key_vector();
sort(p_vec_keys->begin(), p_vec_keys->end());
diff --git a/src/mods/html/yc_colors.cpp b/src/mods/html/yc_colors.cpp
index 1f12f60..9d9f2ec 100755
--- a/src/mods/html/yc_colors.cpp
+++ b/src/mods/html/yc_colors.cpp
@@ -13,9 +13,9 @@ extern "C"
container* c = (container*) v_arg;
dynamic_wrap* p_wrap = (dynamic_wrap*) c->elem[0];
conf* p_conf = (conf*) p_wrap->CONF;
- string* p_col1 = &(*((map<string,string>*) c->elem[1]))["col1"];
- string* p_col2 = &(*((map<string,string>*) c->elem[1]))["col2"];
- string* p_flag = &(*((map<string,string>*) c->elem[1]))["flag"];
+ string* p_col1 = &(*((hashmap<string>*) c->elem[1]))["col1"];
+ string* p_col2 = &(*((hashmap<string>*) c->elem[1]))["col2"];
+ string* p_flag = &(*((hashmap<string>*) c->elem[1]))["flag"];
user* p_user = (user*) c->elem[2];
p_col1->erase(0);
@@ -26,7 +26,7 @@ extern "C"
if ( *p_flag == "submit" )
{
- string* p_msgs = &(*((map<string,string>*) c->elem[1])
+ string* p_msgs = &(*((hashmap<string>*) c->elem[1])
)["msgs"];
p_msgs->append( p_conf->get_elem( "chat.msgs.optionschanged" ) );
}
diff --git a/src/mods/html/yc_help.cpp b/src/mods/html/yc_help.cpp
index da58be8..ec8e863 100755
--- a/src/mods/html/yc_help.cpp
+++ b/src/mods/html/yc_help.cpp
@@ -13,11 +13,10 @@ extern "C"
container* c = (container*) v_arg;
dynamic_wrap* p_wrap = (dynamic_wrap*) c->elem[0];
user* p_user = (user*) c->elem[2];
-
modl* p_modl = (modl*) p_wrap->MODL;
conf* p_conf = (conf*) p_wrap->CONF;
chat* p_chat = (chat*) p_wrap->CHAT;
- string* s_content = &(*((map<string,string>*) c->elem[1]))["content"];
+ string* s_content = &(*((hashmap<string>*) c->elem[1]))["content"];
vector<string>* p_vec_keys = p_modl->get_mod_vector();
@@ -44,6 +43,7 @@ extern "C"
}
p_vec_keys_iter++;
}
+
return 0;
}
}
diff --git a/src/mods/html/yc_loggedin.cpp b/src/mods/html/yc_loggedin.cpp
index 2dcc9dc..d3e81c1 100755
--- a/src/mods/html/yc_loggedin.cpp
+++ b/src/mods/html/yc_loggedin.cpp
@@ -13,7 +13,7 @@ extern "C"
container* c = (container*) v_arg;
dynamic_wrap* p_wrap = (dynamic_wrap*) c->elem[0];
chat* p_chat = (chat*) p_wrap->CHAT;
- map<string,string>* p_map = (map<string,string>*) c->elem[1];
+ hashmap<string>* p_map = (hashmap<string>*) c->elem[1];
/*
string s_list;
diff --git a/src/mods/html/yc_options.cpp b/src/mods/html/yc_options.cpp
index ec9ab5e..42c995c 100755
--- a/src/mods/html/yc_options.cpp
+++ b/src/mods/html/yc_options.cpp
@@ -13,16 +13,16 @@ extern "C"
container* c = (container*) v_arg;
dynamic_wrap* p_wrap = (dynamic_wrap*) c->elem[0];
conf* p_conf = (conf*) p_wrap->CONF;
- string* p_flag = &(*((map<string,string>*) c->elem[1]))["flag"];
- string* p_email = &(*((map<string,string>*) c->elem[1]))["email"];
- string* p_pass = &(*((map<string,string>*) c->elem[1]))["pass"];
- string* p_newpass = &(*((map<string,string>*) c->elem[1]))["newpass"];
- string* p_newpass2 = &(*((map<string,string>*) c->elem[1]))["newpass2"];
+ string* p_flag = &(*((hashmap<string>*) c->elem[1]))["flag"];
+ string* p_email = &(*((hashmap<string>*) c->elem[1]))["email"];
+ string* p_pass = &(*((hashmap<string>*) c->elem[1]))["pass"];
+ string* p_newpass = &(*((hashmap<string>*) c->elem[1]))["newpass"];
+ string* p_newpass2 = &(*((hashmap<string>*) c->elem[1]))["newpass2"];
user* p_user = (user*) c->elem[2];
if ( *p_flag == "submit" )
{
- string* p_msgs = &(*((map<string,string>*) c->elem[1])
+ string* p_msgs = &(*((hashmap<string>*) c->elem[1])
)["msgs"];
// If the password has to be changed:
diff --git a/src/mods/html/yc_register.cpp b/src/mods/html/yc_register.cpp
index d0bcc8f..1acbd73 100755
--- a/src/mods/html/yc_register.cpp
+++ b/src/mods/html/yc_register.cpp
@@ -15,12 +15,12 @@ extern "C"
dynamic_wrap* p_wrap = (dynamic_wrap*) c->elem[0];
conf* p_conf = (conf*) p_wrap->CONF;
data* p_data = (data*) p_wrap->DATA;
- string* p_msgs = &(*((map<string,string>*) c->elem[1]))["INFO"];
- string* p_nick = &(*((map<string,string>*) c->elem[1]))["nick"];
- string* p_email = &(*((map<string,string>*) c->elem[1]))["email"];
- string* p_pass = &(*((map<string,string>*) c->elem[1]))["pass"];
- string* p_pass2 = &(*((map<string,string>*) c->elem[1]))["pass2"];
- string* p_request = &(*((map<string,string>*) c->elem[1]))["request"];
+ string* p_msgs = &(*((hashmap<string>*) c->elem[1]))["INFO"];
+ string* p_nick = &(*((hashmap<string>*) c->elem[1]))["nick"];
+ string* p_email = &(*((hashmap<string>*) c->elem[1]))["email"];
+ string* p_pass = &(*((hashmap<string>*) c->elem[1]))["pass"];
+ string* p_pass2 = &(*((hashmap<string>*) c->elem[1]))["pass2"];
+ string* p_request = &(*((hashmap<string>*) c->elem[1]))["request"];
user* p_user = (user*) c->elem[2];
string s_nick = *p_nick;
@@ -71,7 +71,7 @@ extern "C"
p_msgs->append( p_conf->get_elem( "chat.msgs.registernick" ) );
p_request->replace( 0, p_request->length(), p_conf->get_elem("httpd.startsite") );
- map<string,string> map_insert = *((map<string,string>*) c->elem[1]);
+ hashmap<string> map_insert = *((hashmap<string>*) c->elem[1]);
map_insert["password"] = *p_pass;
map_insert["color1"] = p_conf->get_elem("chat.html.user.color1");
map_insert["color2"] = p_conf->get_elem("chat.html.user.color2");