Skip to content

Commit 520826c

Browse files
committed
Remove some dead code from the webcpanel module.
1 parent bfb47ab commit 520826c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

modules/webcpanel/webcpanel.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ class ModuleWebCPanel final
6767
me = this;
6868

6969
const auto &block = Config->GetModule(this);
70-
provider_name = block.Get<const Anope::string>("server", "httpd/main");
7170
template_base = Anope::ExpandData(block.Get<const Anope::string>("template_dir", "webcpanel/templates/default"));
7271
page_title = block.Get<const Anope::string>("title", "Anope IRC Services");
7372

modules/webcpanel/webcpanel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
extern Module *me;
2424

25-
extern Anope::string provider_name, template_base, page_title;
25+
extern Anope::string template_base, page_title;
2626

2727
struct SubSection final
2828
{

0 commit comments

Comments
 (0)