summaryrefslogtreecommitdiff
path: root/src/map/irc.h
diff options
context:
space:
mode:
authorZido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-08 12:09:36 +0000
committerZido <Zido@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-08 12:09:36 +0000
commit74c9a56b7aa52fff54fa4a34a2f31910307b37eb (patch)
tree9c77d8672a67e520e3a3e589115e98b04d55fa3a /src/map/irc.h
parent8de982a279a9eca6505c790b32ca2f1d559a3380 (diff)
downloadhercules-74c9a56b7aa52fff54fa4a34a2f31910307b37eb.tar.gz
hercules-74c9a56b7aa52fff54fa4a34a2f31910307b37eb.tar.bz2
hercules-74c9a56b7aa52fff54fa4a34a2f31910307b37eb.tar.xz
hercules-74c9a56b7aa52fff54fa4a34a2f31910307b37eb.zip
- The IRC bot now reads a configuration file (irc.c) instead of it all being hardcoded
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5958 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/irc.h')
-rw-r--r--src/map/irc.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/map/irc.h b/src/map/irc.h
index 669f26c03..5c321605b 100644
--- a/src/map/irc.h
+++ b/src/map/irc.h
@@ -1,5 +1,8 @@
#include "map.h"
+// IRC .conf file [Zido]
+#define IRC_CONF "irc_athena.conf"
+
// IRC Access levels [Zido]
#define ACCESS_OWNER 5
#define ACCESS_SOP 4
@@ -44,8 +47,9 @@ struct channel_data {
}user[MAX_CHANNEL_USERS];
};
-int parse_names_packet(char *str);
-int parse_names(char *str);
-int set_access(char *nick,int level);
-int get_access(char *nick);
-int irc_rmnames(void);
+int parse_names_packet(char *str); // [Zido]
+int parse_names(char *str); // [Zido]
+int set_access(char *nick,int level); // [Zido]
+int get_access(char *nick); // [Zido]
+int irc_rmnames(void); // [Zido]
+int irc_read_conf(char *file); // [Zido]