Skip to content

Commit

Permalink
fixed call to removed plugin function
Browse files Browse the repository at this point in the history
  • Loading branch information
selfthinker committed Mar 23, 2013
1 parent dc1aa54 commit c473f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.php
Expand Up @@ -33,7 +33,7 @@ function handle_start(&$event, $param){
if(is_array($bans)) foreach($bans as $ban){
$fields = explode("\t",$ban);
if($fields[0] == $client){
$text = $this->plugin_locale_xhtml('banned');
$text = $this->locale_xhtml('banned');
$text .= sprintf('<p>'.$this->getLang('banned').'</p>',
hsc($client), strftime($conf['dformat'],$fields[1]),
hsc($fields[3]));
Expand Down
2 changes: 1 addition & 1 deletion admin.php
Expand Up @@ -55,7 +55,7 @@ function handle() {
function html() {
global $conf;

echo $this->plugin_locale_xhtml('intro');
echo $this->locale_xhtml('intro');

echo '<form method="post" action="">';
echo '<table class="inline" width="100%">';
Expand Down

0 comments on commit c473f94

Please sign in to comment.