]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Sun, 22 Mar 2009 21:19:25 +0000 (21:19 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sun, 22 Mar 2009 21:19:25 +0000 (21:19 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12717 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_lua/freeswitch_lua.cpp

index 63242a2e55cc2841f6d27893f8aad0d82adfa59e..67984b756694d3c8639da207527073f72005fa69 100644 (file)
@@ -134,7 +134,7 @@ void Session::do_hangup_hook()
 static switch_status_t lua_hanguphook(switch_core_session_t *session_hungup)
 {
        switch_channel_t *channel = switch_core_session_get_channel(session_hungup);
-       CoreSession *coresession = NULL;
+       Session *coresession = NULL;
        switch_channel_state_t state = switch_channel_get_state(channel);
 
        if (session_hungup) {
@@ -142,7 +142,7 @@ static switch_status_t lua_hanguphook(switch_core_session_t *session_hungup)
                channel = switch_core_session_get_channel(session_hungup);
 
                if (channel) {
-                       coresession = (CoreSession *) switch_channel_get_private(channel, "CoreSession");
+                       coresession = (Session *) switch_channel_get_private(channel, "CoreSession");
                }
                
                if (!(coresession && coresession->hook_state)) {