summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-01 14:40:53 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-01 14:40:53 +0000
commit903dbea2b1c4072fcd4538bf67feaf1cf968bac9 (patch)
treea15a535ccb5b5a05f03d58c439f893c96e81b685 /src/xline.cpp
parent3cf1ae04704b4f1706daa1077b90fd14d1e72cef (diff)
Change WriteChannelWithServ and it's _NoFormat to take a const char* servername rather than char* - although it doesn't seem to be used :<
Lose some more casts in m_spanningtree, unneeded because of above changes Make xline_set_creation_time() take const char* rather than char* for it's first parameter, lose more casts in spanningtree because of this Make do_whois take a const char* rather chan char* nick, lose yet more casts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4095 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 0443a4f17..4cc4c4238 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -466,7 +466,7 @@ char* matches_exception(const char* host)
}
-void gline_set_creation_time(char* host, time_t create_time)
+void gline_set_creation_time(const char* host, time_t create_time)
{
for (std::vector<GLine>::iterator i = glines.begin(); i != glines.end(); i++)
{
@@ -487,7 +487,7 @@ void gline_set_creation_time(char* host, time_t create_time)
return ;
}
-void eline_set_creation_time(char* host, time_t create_time)
+void eline_set_creation_time(const char* host, time_t create_time)
{
for (std::vector<ELine>::iterator i = elines.begin(); i != elines.end(); i++)
{
@@ -508,7 +508,7 @@ void eline_set_creation_time(char* host, time_t create_time)
return;
}
-void qline_set_creation_time(char* nick, time_t create_time)
+void qline_set_creation_time(const char* nick, time_t create_time)
{
for (std::vector<QLine>::iterator i = qlines.begin(); i != qlines.end(); i++)
{
@@ -529,7 +529,7 @@ void qline_set_creation_time(char* nick, time_t create_time)
return;
}
-void zline_set_creation_time(char* ip, time_t create_time)
+void zline_set_creation_time(const char* ip, time_t create_time)
{
for (std::vector<ZLine>::iterator i = zlines.begin(); i != zlines.end(); i++)
{