ChatStart.rb check account exists
This commit is contained in:
10
ChatStart.rb
10
ChatStart.rb
@@ -6,9 +6,11 @@ module ChatStart
|
|||||||
}
|
}
|
||||||
|
|
||||||
def self.prof_on_connect(account_name, fulljid)
|
def self.prof_on_connect(account_name, fulljid)
|
||||||
@@starts[account_name].each { | contact |
|
if @@starts[account_name]
|
||||||
Prof::send_line("/msg " + contact)
|
@@starts[account_name].each { | contact |
|
||||||
}
|
Prof::send_line("/msg " + contact)
|
||||||
Prof::send_line("/win 1")
|
}
|
||||||
|
Prof::send_line("/win 1")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user