Permalink
Browse files

Stupid method name fix

  • Loading branch information...
1 parent 86a4453 commit c14273d63069a0c059e4082f509e3dfaa4b6b769 @RISCfuture RISCfuture committed Sep 14, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 libs/stem_facade.rb
View
@@ -135,7 +135,7 @@ def remove_usermode(nick, property)
def set_channel_property(channel, property, argument=nil)
channel = normalized_channel_name(channel)
- propcode = server_type.channel_property.key(property).chr if server_type.channel_property.value? property
+ propcode = server_type.channel_mode.key(property).chr if server_type.channel_mode.value? property
propcode ||= property
mode channel, "+#{propcode}", argument
end
@@ -148,7 +148,7 @@ def set_channel_property(channel, property, argument=nil)
def unset_channel_property(channel, property, argument=nil)
channel = normalized_channel_name(channel)
- propcode = server_type.channel_property.key(property).chr if server_type.channel_property.value? property
+ propcode = server_type.channel_mode.key(property).chr if server_type.channel_mode.value? property
propcode ||= property
mode channel, "-#{propcode}", argument
end

0 comments on commit c14273d

Please sign in to comment.